<?php

namespace app;

use app\BaseModel;
use mikkle\tp_tools\Rand;
class ResourceModel extends BaseModel
{
    protected $insert = ['id'];
    protected $pk = 'id';

    protected function setIdAttr(){
        return Rand::createNonceStr(32);
    }
}
